import mongoose from 'mongoose'
const Schema = mongoose.Schema


const GotoSchema = new Schema({
	point: String,
	isGo: {
		type: Number,
		default: 0
	}
})

GotoSchema.pre('save', function(next) {
  next()
})

mongoose.model('Goto', GotoSchema)